﻿package mortal.game.view.copy.crossMainCity.panels.sub
{
    import extend.language.*;

    public class MainCityBattleGuildFinalRender extends MainCityBattleGuildKORender
    {

        public function MainCityBattleGuildFinalRender()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            _txtRank.y = 16;
            _txtName.y = 16;
            _txtValue.y = 16;
            _line.y = 39;
            _endText = Language.getString(20927);
            return;
        }// end function

        override public function set data(param1:Object) : void
        {
            super.data = param1;
            var _loc_2:* = int(_myData.value / 60);
            var _loc_3:* = _myData.value % 60;
            var _loc_4:* = _loc_2.toString();
            if (_loc_2 < 10)
            {
                _loc_4 = "0" + _loc_2;
            }
            _loc_4 = _loc_4 + Language.getString(20928);
            if (_loc_3 < 10)
            {
                _loc_4 = _loc_4 + ("0" + _loc_3.toString());
            }
            else
            {
                _loc_4 = _loc_4 + _loc_3.toString();
            }
            _loc_4 = _loc_4 + Language.getString(20927);
            _txtValue.text = _loc_4;
            return;
        }// end function

    }
}
